* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
}

.header {
    background: #ff6b6b;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav a:hover {
    background: rgba(255,255,255,0.2);
}

.main {
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.canteens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.canteen-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-header h3 {
    color: #333;
}

.location {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.type {
    color: #666;
    margin-bottom: 0.5rem;
}

.description {
    color: #888;
    margin-bottom: 1rem;
}

.price {
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.star {
    color: #ddd;
}

.star.filled {
    color: #ffc107;
}

.score {
    color: #666;
}

.btn {
    background: #4CAF50;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn:hover {
    background: #45a049;
}

.detail-container {
    max-width: 800px;
    margin: 0 auto;
}

.back-link {
    color: #667eea;
    text-decoration: none;
    margin-bottom: 1rem;
    display: inline-block;
}

.detail-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.detail-info p {
    margin-bottom: 0.5rem;
}

.review-form {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.review-item {
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.review-content {
    margin-bottom: 0.5rem;
}

.review-date {
    color: #666;
}

.auth-container {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.error-message {
    background: #ffeaea;
    color: #d63031;
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.auth-link {
    text-align: center;
    margin-top: 1rem;
}

.test-accounts {
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.test-accounts h4 {
    margin-bottom: 0.5rem;
}

.footer {
    text-align: center;
    padding: 2rem;
    color: #666;
    border-top: 1px solid #ddd;
}